include GL/glfw

GLenum: extern cover from UInt
glfwInit: extern func -> Int
glfwTerminate: extern func -> Int
glfwOpenWindow: extern func (Int, Int, Int , Int, Int, Int, Int , Int, Int)-> Int
glfwSetWindowTitle: extern func( String )
glfwSleep: extern func( Double )
glfwSwapBuffers: extern func

glBegin: extern func (mode:GLenum) -> Void
glMatrixMode: extern func( GLenum)
glLoadIdentity: extern func
GL_LINES: extern GLenum
GL_LINE_LOOP: extern GLenum
GL_POLYGON: extern GLenum
GL_PROJECTION: extern GLenum
GL_MODELVIEW: extern GLenum
GLfloat: extern cover from Float
glVertex2f: extern func (x:GLfloat, y:GLfloat) -> Void
glEnd: extern func -> Void
glOrtho: extern func( Float, Float, Float, Float, Float, Float)
glColor3ub: extern func( Int, Int, Int ) -> Void


glfwGetMousePos: extern func( Int*, Int* )
glfwGetMouseButton: extern func( Int) -> Int

GL_COLOR_BUFFER_BIT: extern GLenum
glClear: extern func (mode:GLenum) -> Void

GLFW_OPENED: extern Int
GLFW_MOUSE_BUTTON_LEFT: extern Int
GLFW_MOUSE_BUTTON_RIGHT: extern Int
GLFW_MOUSE_BUTTON_MIDDLE: extern Int
glfwGetWindowParam: extern func( Int )
glfwGetKey: extern func( Int ) -> Int
